Fix careless error in suppression on SpecialDeletedContributions.
authorAndrew Garrett <werdna@users.mediawiki.org>
Mon, 2 Mar 2009 14:17:08 +0000 (14:17 +0000)
committerAndrew Garrett <werdna@users.mediawiki.org>
Mon, 2 Mar 2009 14:17:08 +0000 (14:17 +0000)
includes/specials/SpecialContributions.php
includes/specials/SpecialDeletedContributions.php
includes/specials/SpecialNewpages.php
includes/specials/SpecialRecentchanges.php

index 64c6569..874c381 100644 (file)
@@ -398,7 +398,12 @@ class ContribsPager extends ReverseChronologicalPager {
                        'join_conds' => $join_cond
                );
                
-               ChangeTags::modifyDisplayQuery( $queryInfo['tables'], $queryInfo['fields'], $queryInfo['conds'], $queryInfo['join_conds'], $this->tagFilter );
+               ChangeTags::modifyDisplayQuery( $queryInfo['tables'],
+                                                                               $queryInfo['fields'],
+                                                                               $queryInfo['conds'],
+                                                                               $queryInfo['join_conds'],
+                                                                               $queryInfo['options'],
+                                                                               $this->tagFilter );
                
                wfRunHooks( 'ContribsPager::getQueryInfo', array( &$this, &$queryInfo ) );
                return $queryInfo;
index a4e5fb2..f8e5392 100644 (file)
@@ -115,7 +115,7 @@ class DeletedContribsPager extends IndexPager {
                                'user_text'  => $row->ar_user_text,
                                'timestamp'  => $row->ar_timestamp,
                                'minor_edit' => $row->ar_minor_edit,
-                               'rev_deleted' => $row->ar_deleted,
+                               'deleted' => $row->ar_deleted,
                                ) );
 
                $page = Title::makeTitle( $row->ar_namespace, $row->ar_title );
index 9cf7177..886c41a 100644 (file)
@@ -438,7 +438,12 @@ class NewPagesPager extends ReverseChronologicalPager {
                $fields = array();
 
                ## Modify query for tags
-               ChangeTags::modifyDisplayQuery( $info['tables'], $fields, $info['conds'], $info['join_conds'], $this->opts['tagfilter'] );
+               ChangeTags::modifyDisplayQuery( $info['tables'],
+                                                                               $fields,
+                                                                               $info['conds'],
+                                                                               $info['join_conds'],
+                                                                               $info['options'],
+                                                                               $this->opts['tagfilter'] );
 
                return $info;
        }
index 2fd7fe4..3f5ca12 100644 (file)
@@ -287,7 +287,8 @@ class SpecialRecentChanges extends SpecialPage {
                }
 
                // Tag stuff.
-               $fields = array(); // Fields are * in this case, so let the function modify an empty array to keep it happy.
+               $fields = array();
+               // Fields are * in this case, so let the function modify an empty array to keep it happy.
                ChangeTags::modifyDisplayQuery( $tables, $fields, $conds, $join_conds, $opts['tagfilter'] );
 
                wfRunHooks('SpecialRecentChangesQuery', array( &$conds, &$tables, &$join_conds, $opts ) );